<style>
body {
	background: #fff;
}
.fui-content{background:#fff}
.fui-icon-group .fui-icon-col {
    margin: 5px 0;
}
.fe-floatback a {
    width: 1.3rem;
    height: 1.3rem;
    line-height: 1.3rem;
    opacity: 0.6;
}
.fe-mod-14 {
    min-height: 174px;
	padding-bottom: 5.8rem;
	background: #fff;
}

.fe-mod-14 a , .fe-mod-14 a:hover {
    color: inherit;
    text-decoration: none;
}

.fe-mod-14 img {
    width: 100%;
    display: block;
}

.fe-mod-14-menu {
    height: 45px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: rgba(0,0,0,0.4);
    color: #fff;
}

.fe-mod-14-menu a {
    color: inherit;
}

.fe-mod-14-nav {
    height: 40px;
    width: 25%;
    padding-top: 5px;
    float: left;
    text-align: center;
    font-size: 12px;
}

.fe-mod-14-nav i {
    font-size: 18px;
}

.fe-mod-14-nav-on {
    height: 45px;
    border-bottom: 3px solid #dd2322;
}

.fe-mod-14-shopname {
    height: 24px;
    width: 100%;
    position: absolute;
    top: 7rem;
    left: 0px;
}
.fe-mod-14-name {
    height: 1.4rem;
    width: auto;
    line-height: 1.4rem;
    margin: auto;
    display: table;
    font-size:0.7rem;
    padding: 0px 15px;
}
.fe-mod-14-map {
    width: auto;
    background: rgba(0,0,0,0.2);
    margin: auto;
    display: table;
    border-radius: 1.4rem;
    font-size:0.6rem;
    color: #fff;
    padding: 0px 0.7rem;
}

.fe-mod-14-shoplogo {
    height: 80px;
    width: 80px;
    padding: 4px;
    margin-left: -40px;
    position: absolute;
    top: 3.6rem;
    left: 50%;
}
.fe-mod-14-shoplogo-img {
    height: 70px;
    width: 70px;
    padding: 4px;
    border-radius: 10px;
    margin: auto;
}
.fe-mod-14-shoplogo-img .vip {
	background: #09ba07 none repeat scroll 0 0;
    color: #fff;
    position: absolute;
    top: 2.6rem;
	margin-left:2.2rem;
	height: 0.85rem;
    width: 0.85rem;
    vertical-align: top;
    z-index: 100;
	line-height:1.2;
	text-align:center;
	border: 1.3px solid #fff;
	border-radius:0.85rem;
}
.fe-mod-14-shoplogo-img .set {
    position: absolute;
    top: 0.1rem;
	margin-left:2.2rem;
	height: 0.85rem;
    width: 0.85rem;
    vertical-align: top;
    z-index: 100;
	line-height:1.2;
	text-align:center;
}
.fe-mod-14-shoplogo-img img {
    height: 60px;
    width: 60px;
    border-radius: 10px;
}
.fe-mod-14-shopinfo {
	position: absolute;top:10.2rem;left:2.5%;width:95%;padding: 12px 0 10px;background-color: #fff;border-radius: 10px;border: 1px solid #f2f2f2;
}
.fe-mod-14-shopinfo .desc {
	padding:0 0.8rem;
	font-size:0.6rem;
}
.fe-mod-14-shopinfo .data {
	padding:0 0.8rem;
	margin-top:0.6rem;
	font-size:0.55rem;
	color:#999
}
.post-card .image img { border-radius:2.2rem;}
.item-line-nav {margin:0.2rem;padding: 0.1rem;background-color: #09ba07;border-radius: 10px;text-align:center;line-height:1.2rem}
</style>
<div ng-include="sys_html('_header')"></div>
<div class="fui-page order-create-page fui-page-current" >
	<div class="fui-content">
		<div class="fe-mod fe-mod-14">
			<div class="fe-floatback" style="position: absolute;right:0.6rem;top:6rem;width:4rem;">
				<a ng-click="access_json('/addquan/')" style="width:1.6rem;height:1.6rem;background:#fff;margin:0.2rem auto">
					<i class="icon icon-tianjia" style="color:#000;line-height:1.6rem;font-size:0.8rem"></i>
				</a>
				<span class="c" style="font-size:0.60rem">创建主页</span>
			</div>
			<img ng-src="{{tomedia(pagedata.pluginset.topbg) || '../addons/jy_quan/resource/images/topbg.jpg'}}" style="height:13rem"/>
			<div class="fe-mod-14-shopname">
				<div class="fe-mod-14-name">{{pagedata.quaninfo.title}}</div>
				<div class="fe-mod-14-map"><i class="icon icon-map" style="color: #fff;"></i> {{pagedata.quaninfo.pcd.district || pagedata.pluginset.quan_district}}</div>
			</div>
			<div class="fe-mod-14-shoplogo"> 
				<div class="fe-mod-14-shoplogo-img" ng-click="access_json('/myhome/')">
					<img ng-src="{{tomedia(pagedata.quaninfo.logo) || '../core/resource/images/nopic.jpg'}}"/>
					<span class="vip"><i class="icon jinyunicon icon-vip5" style="font-size:0.5rem;padding-left:0.1rem;color:#fff"></i></span>
					<span class="set"><i class="icon jinyunicon icon-set" style="font-size:0.6rem;padding-left:0.1rem;color:#09ba07;"></i></span>
				</div>
			</div>
			<div class="fe-mod-14-shopinfo">
				<div class="fui-icon-group noborder col-4">
					<div class="fui-icon-col external" ng-click="access_json('/myfollow/fans/')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;color:#09ba07;">{{pagedata.fansnum || 0}}</div>
						<div class="text" style="color: #999;padding:0">粉丝管理</div>
					</div>
					<div class="fui-icon-col external" ng-click="access_json(menu.linkurl)">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;font-size:16px;color:#09ba07;">{{pagedata.member.credit2 || 0.00}}</div>
						<div class="text" style="color: #999;padding:0">余额</div>
					</div>
					<div class="fui-icon-col external" style="width:50%" ng-click="access_json(main.current_plugin=='jy_quan'?'selectitem/':'/upitem//isweishop=1&type=1&snsid='+pagedata.snsid)">
						<div class="fui-tag-red-o" style="border: 1px solid #09ba07;font-size:16px;color:#09ba07;margin:0 0.8rem;padding:0.4rem 0.2rem;"><i class="icon icon-shuru" style="font-size:16px;color:#09ba07;height:0.8rem;line-height:0.8rem;"></i> 发布接龙</div>
					</div>
				</div>
				<div class="fui-icon-group noborder col-4">
					<div class="fui-icon-col external" ng-click="access_json('/myzuji//gettype=fabu')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-search" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">搜索</div>
					</div>
					<div class="fui-icon-col external" ng-click="access_json('jy_quan/feelog//ismyitem=2')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-xinyongqiahuankuan" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">凭证</div>
					</div>
					<!--<div class="fui-icon-col external">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-xiaoxi1" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">消息</div>
					</div>-->
					<div class="fui-icon-col external" ng-click="access_json('myshoucang/')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-fuwuchuanga" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">我订阅的</div>
					</div>
					<div class="fui-icon-col external" ng-click="access_json('/myzuji//gettype=fabu')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-jia" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">我发布的</div>
					</div>
					<div class="fui-icon-col external" ng-click="access_json('/myzuji//gettype=cy')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-success" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">我参与的</div>
					</div>
					<div class="fui-icon-col external" ng-click="access_json('/myzuji//gettype=look')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-browse" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">最近浏览</div>
					</div>
					<div class="fui-icon-col external" ng-click="access_json('jy_weishop/merch//myshop=1&plugin_name=jy_quan')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-dianpu" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">我的小店</div>
					</div>
					<div class="fui-icon-col external" ng-click="access_json('core/member.tixian/')">
						<div class="icon icon-green radius" style="height:0.8rem;line-height:0.8rem;"><i class="icon icon-qitashouru" style="font-size:16px;color:#999;height:0.8rem;line-height:0.8rem;"></i></div>
						<div class="text" style="color: #999;padding:0">我要提现</div>
					</div>
				</div>
			</div>
		</div>
		<div class="fui-searchbar bar" style="z-index: 0;">
			<div ng-class="{'searchbar':1,'searchbar-active':pagedata.searchbar ==1}" style="background:#fff">
					<div style="position: relative;left:0;top:0;">
						<div class="search-input">
							<i id="searchsub" class="icon icon-search" style="color: {iconcolor};" ng-click="tool.get_list('jy_quan/myquan/getlist/',true)"></i>
							<input type="search" placeholder="输入搜索" class="search" ng-model="pagedata.params.keyword" style="text-align: left; color: #999; font-size:0.56rem;background:#f9f9f9" />
						</div>
					</div>
			</div>
		</div>
		<div ng-if="pagedata.list.length<1" class="fui-card fui-card-list fui-card-full post-card">
			<a class='fui-card-info' style="margin-bottom:0.3rem" ng-click="access_json('/item//id='+row.id)" >
				<div class='image'>
					<img ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/nopic.jpg'}}"  />
				</div>
				<div class="text">
					<span class="title" style="height:1rem;color:#f60">{{pagedata.member.nickname || '匿名'}}</span>
					<span class="subtitle" style="font-size:0.5rem;padding-top:0.1rem">{{date(pagedata.member.createtime) || '1天前'}} 入驻</span>
				</div>
			</a>
			<div class="fui-card-content" style="margin-left:2.5rem;">
				<b class="fui-card-content-title">
					你的朋友圈还未发帖子哦！亲！
				</b>
				<div class="item-line-nav" style="margin-right:2rem" ng-click="access_json(main.current_plugin=='jy_quan'?'selectitem/':main.current_plugin+'/upitem//isweishop=1&type=1&snsid='+pagedata.snsid)">
					<i class="icon icon-shuru" style="color:#fff"></i> <span class="subtitle" style="color:#fff">我要发帖</span>
				</div>
			</div>
		</div>
		<div class="fui-card fui-card-list fui-card-full post-card" ng-repeat="row in pagedata.list">
			<a class='fui-card-info' style="margin-bottom:0.3rem" ng-click="access_json('/item//id='+row.id)" >
				<div class='image'>
					<img ng-src="{{tomedia(row.member.avatar) || '../core/resource/images/nopic.jpg'}}"  />
				</div>
				<div class="text">
					<span class="title" style="height:1rem;color:#f60">{{row.member.nickname || '匿名'}}</span>
					<span class="subtitle" style="font-size:0.5rem;padding-top:0.1rem">{{row.createtime || '1天前'}} 发布</span>
				</div>
			</a>
			<div class="fui-card-content" style="margin-left:2.5rem;" ng-click="access_json('/item//id='+row.id)" >
				<b class="fui-card-content-title">
					{{row.title || '未知标题'}} 
					<span ng-if="row.status==0 && row.noshow==0" style="color:red;float:right">审核中</span>
					<span ng-if="row.status==0 && row.noshow==1" style="color:red;float:right">预览中</span>
					<span ng-if="row.status==1 && row.noshow==0" style="color:#09ba07;float:right">正在接龙</span>
					<span ng-if="row.fee.length<=1 && (row.type ==1 || row.type ==6)" class="price red">￥{{row.fee[0]['value'] ||'0.00'}}</span>
					<span ng-if="row.fee.length>1 && (row.type ==1 || row.type ==6)" class="price red">￥{{row.fee[0]['value'] ||'0.00'}} ~ {{row.fee[row.fee.length-1]['value'] ||'0.00'}}</span>
				</b>			
			</div>
			<div ng-if="!row.goods.title" ng-repeat="p in row.content">
				<div class="fui-card-images" style="margin-left:2.7rem;padding:0.2rem;" ng-click="access_json('/item//id='+row.id)" >
					<img ng-if="p.type==3" ng-src="{{tomedia(p.data) || '../core/resource/images/nopic.jpg'}}" style="width:8rem;height:6rem;object-fit: cover;" />
					<img ng-if="p.type==10" ng-repeat="img in p.data track by $index" ng-src="{{tomedia(img) || '../core/resource/images/nopic.jpg'}}"  style="width:4rem;height:4rem;object-fit: cover;margin:0 0.1rem" />
				</div>
				<div ng-if="p.type ==11" class="fui-video" style="margin-left: 2.7rem;margin-right: 0.5rem">
					<video src="{{tomedia(p.data)}}" poster="{{tomedia(p.thumb)}}" height="140" width="100%" controls="" x5-playsinline="" playsinline="" webkit-playsinline="" poster="" preload="auto"></video>
				</div>
			</div>
			<div ng-if="row.goods.title" class="fui-card-content fui-goods-group no" style="margin-left:2.5rem;">
				<div class="fui-goods-item" style="padding:0">
					<div ng-click="access_json('jy_quan/item//id='+row.id)" ng-if="!row.goods.video || pagedata.shopset.no_video==1" ng-class="{'image':1, 'echelon':row.goods.active.title}" data-text="{{row.goods.active.title}}" style="width:5rem;height:5rem;background-image: url('{{tomedia(row.goods.image) ||'../core/resource/images/nopic.jpg'}}')">
							<div ng-show="row.goods.total <=0" class="salez" style="background-image: url('{{tomedia(pagedata.shopset.shop.saleout)}}'); "></div>
					</div>
					<div ng-if="row.goods.video && pagedata.shopset.no_video !=1" class="image" style="padding-bottom:0">
						 <video id="my-video" class="video-js vjs-fluid" style="width:100%;height:100%;object-fit:fill" x5-playsinline="" playsinline=""
						  poster="{{tomedia(row.goods.image) || '../core/resource/images/nopic.jpg'}}"
						  data-setup='{"controls": true, "autoplay": false}'>
						  <source src="{{tomedia(row.goods.video)}}" type="video/mp4">					 
						</video>
						
					</div>
					<div ng-click="access_json('jy_quan/item//id='+row.id)" class="detail" style="height:2.6rem">
						<div class="name overflow-h2 bold">
								<i ng-show="row.goods.ispresell == 1" class="fui-tag fui-tag-danger">预售</i>
								{{row.goods.title}}
						</div>
						<div><div class="fui-tag fui-tag-danger" style="background:linear-gradient(to right,rgba(244,221,187,0.6),rgba(235,216,174,1));color:#512f0a;width:auto;font-weight:400">{{row.goods.merchname || '平台直营'}}</div></div>
						<div class="price" style="position:absolute;margin-top: 0.3rem;bottom:0.2rem;width:8.8rem">
							<span class="text">￥{{row.goods.active.price || row.goods.price}} <span class="subtitle" style="font-weight:400">售{{row.goods.salenum || 0}}{{row.goods.unit || '件'}}</span></span>
							<span class=" fui-buys-info" style="float:right;width:2.3rem">
									<img ng-repeat="j in row.jieli" ng-if="$index<2" class="avatar" style="width:1.3rem;height:1.3rem;margin-right:-0.5rem" ng-src="{{tomedia(j.member.avatar) || '../core/resource/images/nopic.jpg'}}">
							</span>
						</div>
					</div>
				</div>
			</div>
			<div class="fui-card-content" style="margin-left:2.5rem;" ng-if="row.type ==1">
				<a href='javascript:;' ng-click="access_json('jy_quan/item//id='+row.id)" ng-class="{'red':1,'disabled gray':row.endstatus==0}" style="margin:0.2rem 0;font-size:0.7rem;">
					<i class="icon icon-task-management"></i> 结束时间：{{row.onlinetime}}
				</a>
			</div>
			<div class="fui-card-content" style="margin-left:2.5rem;" ng-if="row.type ==2">
				<a ng-if="row.isme !=1 && !row.isgetred" href='javascript:;' ng-click="access_json('/item//id='+row.id)" class='btn btn-red block' style="margin:0.2rem 0;color:#fff"><i class="icon icon-wodezichan"></i> 抢红包</a>
				<a ng-if="row.isme ==1 || row.isgetred" class='btn btn-red block disabled' style="margin:0.2rem 0;color:#fff"><i class="icon icon-wodezichan"></i> {{row.isme ==1?'不能抢自己的':'已抢红包'}}</a>
			</div>
			<div style="margin:0.2rem 0.5rem 0.2rem 2.7rem;padding: 0.2rem;">
				<div ng-if="row.type ==8" class="subtitle">
						<span><i class="icon icon-favorites" style="font-size:0.55rem"></i></span>
						<span ng-repeat="a in row.likes" style="margin-left:0.2rem;font-size:0.5rem"> 
							<span><image src="{{a.member.avatar || att_url+'../core/resource/images/gw-user.png'}}" style="border-radius: 100%;width:0.6rem;height:0.6rem"/></span>
							{{a.member.nickname}}
						</span>
				</div>
				<div ng-if="row.type !=8" ng-repeat="j in row.jieli" style="font-size:0.65rem">
					<span>{{j.number}}.<image src="{{tomedia(j.member.avatar) || '../core/resource/images/gw-user.png'}}" style="border-radius: 100%;width:0.6rem;height:0.6rem"/></span> {{j.member.nickname}}</span>
					<span style="margin-top:0.5rem;font-size:0.45rem;color:#999"> {{j.createtime}}</span>
					<span style="float:right">{{row.typetitle}}接力+1</span>
				</div>
				<div style="margin:0.2rem;font-size:0.56rem;color:#999"><span>有{{row.looks || 0}}人看过 {{row.jielinum || 0}}人参与</span><span style="color:#09ba07;float:right" ng-class="{'disabled':row.endstatus==0 || row.status==0}">{{row.jielongtitle}}</span></div>
			</div>
					
			<div style="margin:0.3rem 0.7rem 0.3rem 2.7rem;font-size:0.56rem;color:#999;height:1rem"><span style="float:right"><span ng-if="row.isme ==1" ng-click="post({},'del','id='+row.id,'','确认删除吗？')"><i class="icon icon-shanchu1" style="color:#000"></i> 删除</span><span style="margin-left:1rem"  onclick="$('#showremark').modal();" ng-click="pagedata.post.pid=row.id"><i class="icon icon-pingjia3" style="color:#000"></i> 留言</span><span style="margin-left:1rem" onclick="$('#showsharecover').modal();"><i class="icon icon-skip" style="color:#000"></i> 转发</span></span></div>
			<div style="margin:0.2rem 0.7rem 0.2rem 2.7rem;padding: 0.5rem;background-color: #f9f9f9;border-radius: 10px;">
				<div ng-repeat="m in row.msg" style="font-size:0.56rem"><span>{{m.member.nickname || '匿名'}}</span>：<span style="color:#999">{{m.title || '无效留言'}}</span><span ng-click="post({},'delmsg','id='+m.id)" style="color:#999;margin-left:0.5rem">删除</span><span ng-if="m.checked!='1'" ng-click="post({},'checkedmsg','id='+m.id)" style="color:#999;margin-left:0.5rem">显示</span></div>
				<div ng-if="row.msgnum>5" style="margin-top:0.5rem;font-size:0.56rem;color:#999">还有{{row.msgnum -5}}条留言</div>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
<!--分享弹层-->
<div id="showsharecover" class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
<div class="modal-dialog" style="width:100%;left:0;top:0">
	<div id="cover">
		<div class='fui-mask-m visible'></div>
		<div class='arrow'></div>
		<div class='content'>请点击右上角<br/>通过【发送给朋友】<br/>转发给好友哦</div>
	</div>
</div>
</div>
<!--留言-->
<div id="showremark"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
	<div class="modal-dialog" style="width:100%;left:0;bottom:0">
		<div class="modal-bottom">
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">留言</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-info c000">
						<textarea rows="5" placeholder="50字以内（选填）" ng-model="pagedata.post.msg"></textarea>
					</div>
				</div>
			</div>
			<div class="fui-navbar">
				<a aria-hidden="true" data-dismiss="modal" ng-click="post(pagedata.post,'setmsg')" class="nav-item btn btn-success confirmbtn">确定</a>
			</div>
		</div>
	</div>
</div>

<script>
scope.loading = true;  //状态标记
scope.isnodata = false;
scope.pagedata.list =[];
scope.pagedata.params.keyword = ''
scope.tool.get_list('jy_quan/myquan/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_quan/myquan/getlist/');
}
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>